
import PrimeVue from 'primevue/config';
import ToastService from 'primevue/toastservice';
// import { MessageService } from 'primevue/messageservice';
import ConfirmationService from 'primevue/confirmationservice';

import Button from 'primevue/button'
import InputText from 'primevue/inputtext'
import InputNumber from 'primevue/inputnumber'
import Textarea from 'primevue/textarea';
import Toast from 'primevue/toast'
import Menu from 'primevue/menu';
import MenuBar from 'primevue/menubar';
import ScrollPanel from 'primevue/scrollpanel';
import Image from 'primevue/image'
import DataTable from 'primevue/datatable';
import Column from 'primevue/column';
import ColumnGroup from 'primevue/columngroup';   // optional
import Row from 'primevue/row';
import Card from 'primevue/card';
import Tag from 'primevue/tag';
import SplitButton from 'primevue/splitbutton';
import Paginator from 'primevue/paginator';
import SelectButton from 'primevue/selectbutton';
import Dialog from 'primevue/dialog';
import Message from 'primevue/message';
import Tree from 'primevue/tree'
import TreeTable from 'primevue/treetable'
import InputSwitch from 'primevue/inputswitch'
import Dropdown from 'primevue/dropdown';
import ConfirmDialog from 'primevue/confirmdialog';
import ConfirmPopup from 'primevue/confirmpopup';
import Tooltip from 'primevue/tooltip';
import Sidebar from 'primevue/sidebar'
import TabView from 'primevue/tabview';
import TabPanel from 'primevue/tabpanel';
import { useToast } from 'primevue/usetoast';
import { useConfirm } from "primevue/useconfirm";


export const primeVuePlugins = [
  PrimeVue,
  ToastService,
  ConfirmationService
]

export const primevueDirective = {
  tooltip: Tooltip
}

export {
  Menu,
  MenuBar,
  Sidebar,
  Card,
  TabView,
  TabPanel,
  Tag,
  ScrollPanel,
  Button,
  SelectButton,
  Image,
  Textarea,
  DataTable,
  Paginator,
  Row,
  ColumnGroup,
  Column,
  InputText,
  InputNumber,
  Toast,
  SplitButton,
  Dialog,
  Message,
  Tree,
  TreeTable,
  InputSwitch,
  Dropdown,
  ConfirmDialog,
  ConfirmPopup,
  useToast,
  useConfirm
}
